/**
 * @author qiuxj
 * @text 员工基本信息
 */
var vStaticType, vStaticValue, layout;
var staticMain = {
    init: function(){
        // 定义DWR
        var dwr = {
        	createStaticType: staticDwr.createStaticType,
        	getStaticType: staticDwr.getStaticType,
        	updateStaticType: staticDwr.updateStaticType,
        	pageStaticType: staticDwr.pageStaticType,
        	createStaticValue: staticDwr.createStaticValue,
        	getStaticValue: staticDwr.getStaticValue,
        	updateStaticValue: staticDwr.updateStaticValue,
        	pageStaticValue: staticDwr.pageStaticValue
        };
        
        vStaticType = staticType.init(dwr);
        vStaticValue = staticValue.init(dwr);
        
        layout = new Ext.TabPanel({
            el: 'staticMain',
            border: false,
            autoScroll: true,
            activeTab: 0,
            items: [vStaticType, vStaticValue]
        });
        layout.render();
    }
}

Ext.onReady(staticMain.init, staticMain);

